package com.biz.primus.ms.coupon.event.couponType;

import com.biz.primus.ms.base.event.LocalEvent;
import com.biz.primus.ms.coupon.dao.po.CouponType;
import lombok.Getter;

/**
 * 优惠券类型事件
 *
 * @author david-liu
 */
@Getter
public abstract class CouponTypeEvent extends LocalEvent {

    private static final long serialVersionUID = -7418264924785252256L;

    private CouponType couponType;

    /**
     * Create a new ApplicationEvent.
     *
     * @param source the object on which the event initially occurred (never {@code null})
     */
    public CouponTypeEvent(Object source, CouponType couponType) {
        super(source);
        this.couponType = couponType;
    }
}
